package com.company.card_service.vo;


import com.company.card_service.model.Message;
import com.company.card_service.model.Reply;
import com.company.card_service.model.UserInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "留言板需要显示的信息")
public class messageAndReplyVo {

    private Integer id;

    @ApiModelProperty("留言者")
    private UserInfo userInfo;

    @ApiModelProperty("留言")
    private Message message;

    @ApiModelProperty("回复")
    private Reply reply;

    @ApiModelProperty("改评论是否公开（0：公开，1不公开）")
    private Integer isPublic;
}
